/*
 * instrument definition
 *
 * Choi Jonghwan <saxboy@gmail.com>
 * 2006/04/24
 */

#ifndef __INSTRUMENT_H__
#define __INSTRUMENT_H__

typedef struct __instrument {

	char *name; 

	int relative_octave; 
	int midi_program; 

	/* instrument properties */

	int b_is_polyphonic; /* eg.) piano, guitar... */

	/* FIXME: what else? */

} _INSTRUMENT; 
typedef _INSTRUMENT *INSTRUMENT; 

INSTRUMENT instrument_New(void); 
INSTRUMENT instrument_NewWithName(const char *name); 
int instrument_Delete(INSTRUMENT i); 
int instrument_Load(INSTRUMENT i, const char *name); 


#endif /* __INSTRUMENT_H__ */


